﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HomeStayWebCP.Models.BusinessObject
{
    public class PostItem
    {
        public int PostID { get; set; }
        public string Title { get; set; }
        public string ContactName { get; set; }
        public string Content { get; set; }
        public string MobilePhone { get; set; }
        public string TelePhone { get; set; }
        public string Email { get; set; }
        public DateTime TimeCreated { get; set; }
        public double ?Area { get; set; }
        public string AddressDetail { get; set; }
        public string Province { get; set; }
        public string District { get; set; }
        public bool ?HasGara { get; set; }
        public bool ?HasGarden { get; set; }
        public bool ?HasKitchen { get; set; }
        public int ?NumBadroom { get; set; }
        public int ?NumOfWC { get; set; }
        public int ?NumSittingRoom { get; set; }
        public string Ordinate { get; set; }
        public Nullable<decimal> PricePerDay { get; set; }
        public Nullable<decimal> PricePerWeek { get; set; }
        public Nullable<decimal> PricePerMonth { get; set; }
        public int ?Storey { get; set; }
        public string TypeOfHouse { get; set; }
        public int ProvinceID { get; set; }
        public int DistrictID { get; set; }
        public bool PostAvailable { get; set; }
        public int Status { get; set; }
        public string UserReview { get; set; }
        public DateTime ?ReviewedTime { get; set; }
    }
    public class PostOfUser
    {
        public int PostID { get; set; }
        public string Title { get; set; }
        public int Status { get; set; }
        public String TimeCreated { get; set; }
        public bool Available { get; set; }
        public string Image { get; set; }
    }
}